/**
 * 
 */
package org.cuatrovientos.tema14colecciones;

/**
 * represents a player
 * @author daniel_ancin
 *
 */
public class Player {
	
	private String name;
	private String position;
	private int number;
	/**
	 * @param name
	 * @param position
	 * @param number
	 */
	public Player(String name, String position, int number) {
		super();
		this.name = name;
		this.position = position;
		this.number = number;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}
	/**
	 * @param number the number to set
	 */
	public void setNumber(int number) {
		this.number = number;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Player [name=" + name + ", position=" + position + ", number="
				+ number + "]";
	}
	
	
	
	
	
	
	

}
